package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.query.SearchQueryObject;
import cn.wolfcode.luowowo.search.template.StrategyTemplate;
import cn.wolfcode.luowowo.search.vo.ESStatisVO;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface IStrategyTemplateService {
    void save(StrategyTemplate t);

    List<Map<String,Object>> getThemeCommend();

    List<ESStatisVO> getStatisVo(String idName,String GroupName,int type);

    Page queryBytype(SearchQueryObject qo);

    List<StrategyTemplate> findByDestId(Long id);
}
